package com.taotao.rest.service.impl;

import com.taotao.mapper.ContentMapper;
import com.taotao.pojo.Content;
import com.taotao.rest.service.ContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * describe:
 *
 * @author hong.zheng
 * @date 2018/09/16
 */
@Service
public class ContentServiceImpl implements ContentService {
    @Autowired
    private ContentMapper contentMapper;

    @Override
    public List<Content> getContentList(long categoryId) {
        return contentMapper.getContentList(categoryId);
    }
}
